<TestCase testName="Test_02_Orchestration2">
  <TestSetup>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep">
      <Directory>C:\Fileports\Rec_03\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep">
      <Directory>C:\Fileports\Send_02\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
  </TestSetup>
  <TestExecution>
    <!-- N O T E : runConcurrently="true" is specified so that this step runs concurrently, therefore allowing the 
					   interleaved send and recieves to take place before the step finishes -->
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.HttpRequestResponseStep" runConcurrently="true">
      <SourcePath>.\BizUnitTests\TestData\Orchestrations\InDoc1.xml</SourcePath>
      <DestinationUrl>http://localhost/BizUnitSDK/BTSHTTPReceive.dll?ReqResp</DestinationUrl>
      <RequestTimeout>20000</RequestTimeout>
      <ValidationStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.XmlValidationStep">
        <XmlSchemaPath>.\BizUnitTests\Schemas\PurchaseOrder.xsd</XmlSchemaPath>
        <XmlSchemaNameSpace>http://SendMail.PurchaseOrder</XmlSchemaNameSpace>
        <XPathList>
          <XPathValidation query="/*[local-name()='PurchaseOrder' and namespace-uri()='http://SendMail.PurchaseOrder']/*[local-name()='PONumber' and namespace-uri()='']">1234</XPathValidation>
        </XPathList>
      </ValidationStep>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileValidateStep">
      <Timeout>10000</Timeout>
      <Directory>C:\Fileports\Send_02\</Directory>
      <SearchPattern>*.xml</SearchPattern>
      <DeleteFile>true</DeleteFile>
      <ValidationStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.XmlValidationStep">
        <XmlSchemaPath>.\BizUnitTests\Schemas\PurchaseOrder.xsd</XmlSchemaPath>
        <XmlSchemaNameSpace>http://SendMail.PurchaseOrder</XmlSchemaNameSpace>
        <XPathList>
          <XPathValidation query="/*[local-name()='PurchaseOrder' and namespace-uri()='http://SendMail.PurchaseOrder']/*[local-name()='PONumber' and namespace-uri()='']">1234</XPathValidation>
        </XPathList>
      </ValidationStep>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep">
      <SourcePath>.\BizUnitTests\TestData\Orchestrations\InDoc1.xml</SourcePath>
      <CreationPath>C:\Fileports\Rec_03\InDoc1.xml</CreationPath>
    </TestStep>
  </TestExecution>
  <!-- Test cleanup: test cases should always leave the system in the state they found it -->
  <TestCleanup>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep">
      <Directory>C:\Fileports\Rec_03\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep">
      <Directory>C:\Fileports\Send_02\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
  </TestCleanup>
</TestCase>